The phrase "kind of bug" is an idiomatic expression that means something along the lines of "a certain type or variety of insect." It can also be used to describe a situation or problem in a general way, without specifying exactly what it is. For example, someone might say "I've got a kind of bug going around my head" if they are feeling confused or preoccupied about something but don't want to specify what that thing is.